package com.ryoma.service.impl;

import com.ryoma.mapper.development.AttendanceMapper;
import com.ryoma.model.Attendance;
import com.ryoma.service.AttendanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "attendanceService")
public class AttendanceServiceImpl  implements AttendanceService {

    @Autowired
    AttendanceMapper attendanceMapper;

    public List<Attendance> queryAttendanceList(Attendance attendance){
        List<Attendance> list = attendanceMapper.queryAttendanceList(attendance);
        return list;
    }

    @Override
    public void insert(Attendance attendance) {
        attendanceMapper.insert(attendance);
    }

    public void update(Attendance attendance){

    }
}
